package com.xieyunjie;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;
import org.springframework.context.annotation.PropertySource;

@SpringBootApplication
@PropertySource(value={"classpath:student.properties"})
@ImportResource(value = "classpath:beans.xml")//扫描自己创建的一个配置文件(.xml文件)
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }

}
